package com.forenow.demo.Book;

public class Person {
    String name;
    int age;
    int weight;
    public void sayHello(String name1){

        System.out.println("hello,my name is "+name);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getage() {
        return age;
    }

    public void setage(int height) {
        this.age = age;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public Person(String name, int height, int weight) {
        this.name = name;
        this.age= age;
        this.weight = weight;
    }
    public Person() {
        this.name = name;
        this.age= age;
        this.weight = weight;
    }
}
